
import BasicLayout from '@/layouts/basic-layout';
const pre = 'SystemSetup'
let router = {
    path: '/systemSetup',
    name: pre,
    meta: {
        auth: true,
    },
    redirect: {
        name: `${pre}-systemManage-systemSet`
    },
    component: BasicLayout,
    children: [
        {
            path:'systemManage/systemSet',
            name: `${pre}-systemManage-systemSet`,
            meta: {
                auth: true,
                title: '系统管理',
                closable: true
            },
            component: () => import('@/pages/systemSetup/systemManage/systemSet.vue')
        },
        {
            path:'systemManage/menu',
            name: `${pre}-systemManage-menu`,
            meta: {
                auth: true,
                title: '系统管理',
                closable: true
            },
            component: () => import('@/pages/systemSetup/systemManage/menu.vue')
        },
        {
            path: 'tenantSet/user',
            name: `${pre}-tenantSet-user`,
            meta: {
                auth: true,
                title: '租户用户管理',
                closable: true
            },
            component: () => import('@/pages/systemSetup/tenantSet/user.vue')
        },
        {
            path: 'tenantSet/role',
            name: `${pre}-tenantSet-role`,
            meta: {
                auth: true,
                title: '租户角色管理',
                closable: true
            },
            component: () => import('@/pages/systemSetup/tenantSet/role.vue')
        },
        {
            path: 'permissionManage/department',
            name: `${pre}-permissionManage-department`,
            meta: {
                auth: true,
                title: '部门管理',
                closable: true
            },
            component: () => import('@/pages/systemSetup/permissionManage/department.vue')
        },
        {
            path: 'permissionManage/user',
            name: `${pre}-permissionManage-user`,
            meta: {
                auth: true,
                title: '用户管理',
                closable: true
            },
            component: () => import('@/pages/systemSetup/permissionManage/user.vue')
        },
        {
            path: 'permissionManage/role',
            name: `${pre}-permissionManage-role`,
            meta: {
                auth: true,
                title: '角色管理',
                closable: true
            },
            component: () => import('@/pages/systemSetup/permissionManage/role.vue')
        },
        {
            path: 'systemConfig/dictionary',
            name: `${pre}-permissionManage-dictionary`,
            meta: {
                auth: true,
                title: '数据字典',
                closable: true
            },
            component: () => import('@/pages/systemSetup/systemConfig/dictionary.vue')
        },
        {
            path: 'systemConfig/parameter',
            name: `${pre}-permissionManage-parameter`,
            meta: {
                auth: true,
                title: '参数配置',
                closable: true
            },
            component: () => import('@/pages/systemSetup/systemConfig/parameter.vue')
        },
        {
            path: 'infoOpen/infoConfig',
            name: `${pre}-permissionManage-infoConfig`,
            meta: {
                auth: true,
                title: '信息配置',
                closable: true
            },
            component: () => import('@/pages/systemSetup/infoOpen/infoConfig.vue')
        },
        {
            path: 'infoOpen/fileManage',
            name: `${pre}-permissionManage-fileManage`,
            meta: {
                auth: true,
                title: '文档管理',
                closable: true
            },
            component: () => import('@/pages/systemSetup/infoOpen/fileManage.vue')
        },
        {
            path: 'systemLog/loginLog',
            name: `${pre}-systemLog-loginLog`,
            meta: {
                auth: true,
                title: '登录日志',
                closable: true
            },
            component: () => import('@/pages/systemSetup/systemLog/loginLog.vue')
        },
        {
            path: 'systemLog/operationLog',
            name: `${pre}-systemLog-operationLog`,
            meta: {
                auth: true,
                title: '操作日志',
                closable: true
            },
            component: () => import('@/pages/systemSetup/systemLog/operationLog.vue')
        },
    ]
}
export {
    router
}